import java.util.ArrayList;
import java.util.List;

public class Xuanke{
        public static void main(String[] args) {
            List<Kecheng> Kecheng = new ArrayList<Kecheng>();
            Jiaoshi teacher1 = new Jiaoshi("老师1", 12345, 30);
            Jiaoshi teacher2 = new Jiaoshi("老师2", 54321, 50);
            Jiaoshi teacher3 = new Jiaoshi("老师3", 87654, 40);
            Jiaoshi teacher4 = new Jiaoshi("老师4", 45678, 33);
            Kecheng.add(new Kecheng(0, "课程1", "101", "10月21日 8:00-9:40", teacher1));
            Kecheng.add(new Kecheng(1, "课程2", "102", "10月21日 10:00-11:40", teacher2));
            Kecheng.add(new Kecheng(2, "课程3", "103", "10月21日 13:30-15:10", teacher3));
            Kecheng.add(new Kecheng(3, "课程4", "104", "10月23日 15:30-17:10", teacher4));
        }
}
